package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 用户签到对象 sys_sign_in
 * 
 * @author WJH
 * @date 2021-11-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SysSignIn
{
    private static final long serialVersionUID = 1L;
    /** 签到表主键 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "${comment}")
    private Long signInId;

    /** 签到用户id */
    @TableField(exist = true)
    @ApiModelProperty(value =  "签到用户id")
    private Long userId;

    /** 签到用户姓名（后端少查询一次） */
    @com.ruoyi.common.core.annotation.Excel(name = "签到用户姓名")
    @TableField(exist = true)
    @ApiModelProperty(value =  "签到用户姓名")
    private String userName;

    /** 上班签到地点 */
    @com.ruoyi.common.core.annotation.Excel(name = "上班签到地点")
    @TableField(exist = true)
    @ApiModelProperty(value =  "上班签到地点")
    private String startWorkLocation;
    /** 上班签到时间 */
    @com.ruoyi.common.core.annotation.Excel(name = "上班签到时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = true)
    @ApiModelProperty(value =  "上班签到时间")
    private Long startWorkTime;
    /** 上班签到位置经度 */
    @com.ruoyi.common.core.annotation.Excel(name = "上班签到位置经度")
    @TableField(exist = true)
    @ApiModelProperty(value =  "上班签到位置经度")
    private String sLongitude;
    /** 上班签到位置纬度 */
    @com.ruoyi.common.core.annotation.Excel(name = "上班签到位置纬度")
    @TableField(exist = true)
    @ApiModelProperty(value =  "上班签到位置纬度")
    private String sLatitude;

    /** 下班签到地点 */
    @com.ruoyi.common.core.annotation.Excel(name = "下班签到地点")
    @TableField(exist = true)
    @ApiModelProperty(value =  "下班签到地点")
    private String endWorkLocation;
    /** 下班签到时间 */
    @com.ruoyi.common.core.annotation.Excel(name = "下班签到时间", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @TableField(exist = true)
    @ApiModelProperty(value =  "下班签到时间")
    private Long endWorkTime;
    /** 下班签到位置经度 */
    @com.ruoyi.common.core.annotation.Excel(name = "下班签到位置经度")
    @TableField(exist = true)
    @ApiModelProperty(value =  "下班签到位置经度")
    private String eLongitude;
    /** 下班签到位置纬度 */
    @com.ruoyi.common.core.annotation.Excel(name = "下班签到位置纬度")
    @TableField(exist = true)
    @ApiModelProperty(value =  "下班签到位置纬度")
    private String eLatitude;

    /** 签到详情信息 */
    @TableField(exist = true)
    @ApiModelProperty(value =  "签到详情信息")
    private String content;

    /** 人脸信息外键 */
    @TableField(exist = true)
    @ApiModelProperty(value =  "人脸信息外键")
    private Long sysFaceId;

    @com.ruoyi.common.core.annotation.Excel(name = "加班情况")
    @TableField(exist = false)
    private String workOvertimeSituation;

    @com.ruoyi.common.core.annotation.Excel(name = "迟到情况")
    @TableField(exist = false)
    private String lateSituation;

    @com.ruoyi.common.core.annotation.Excel(name = "早退情况")
    @TableField(exist = false)
    private String leaveEarlySituation;

    @com.ruoyi.common.core.annotation.Excel(name = "缺卡情况")
    @TableField(exist = false)
    private String missCardSituation;

    public static final String SIGN_IN_ID = "sign_in_id";
    public static final String USER_ID = "user_id";
    public static final String USER_NAME = "user_name";
    public static final String START_WORK_LOCATION = "start_work_location";
    public static final String END_WORK_LOCATION = "end_work_location";
    public static final String S_LONGITUDE = "s_longitude";
    public static final String S_LATITUDE = "s_latitude";
    public static final String E_LONGITUDE = "e_longitude";
    public static final String E_LATITUDE = "e_latitude";
    public static final String CONTENT = "content";
    public static final String SYS_FACE_ID = "sys_face_id";
    public static final String START_WORK_TIME = "start_work_time";
    public static final String END_WORK_TIME = "end_work_time";
    public static final String WORK_SITE_LOCATION = "work_site_location";
    public static final String WORK_SITE_TIME = "work_site_time";


}
